package com.multiplesource.config;

import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 多数据源配置类
 * 
 * @author zhuzhoutong
 *
 */
public class MultiDataSourceProperties {
	
	public static final String PREFIX = "spring.datasource.multi";

	private String[] names;
	
	private Map<String,SingleDataSourceProperties> properties;

	public String[] getNames() {
		return names;
	}

	public void setNames(String[] names) {
		this.names = names;
	}

	public Map<String,SingleDataSourceProperties> getProperties() {
		return properties;
	}

	public void setProperties(Map<String,SingleDataSourceProperties> properties) {
		this.properties = properties;
	}
}
